﻿<%@Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor"%><%@ Page Title="" Language="C#" MasterPageFile="~/Personal/Personal_Master.Master" AutoEventWireup="true" CodeBehind="hopdongungdung.aspx.cs" Inherits="NCKH.Personal.hopdongungdung" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
    function displayngaynop() {
        var ngaynopTM = document.getElementById('ngaynopTM');
        ngaynopTM.style.display = 'block'
    }

    </script>
    <script type="text/javascript">
        function displayngaynop1() {
            var ngaynopTM = document.getElementById('ngaynopTM1');
            ngaynopTM.style.display = 'block'
        }
    </script>
    <style type="text/css">
        #ngaynopTM {
         display:none;
         border:solid 2px black;
         position:absolute;
         background-color:white;
        }
        #ngaynopTM1 {
         display:none;
         border:solid 2px black;
         position:absolute;
         background-color:white;
        }
    </style>
      
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 style="text-align:center">HỢP ĐỒNG TRIỂN KHAI ỨNG DỤNG ĐỀ TÀI</h2>
    <table>
        <tr>
            <td>
                Tên Đề Tài
            </td>
            <td>
                <asp:DropDownList ID="drlnhomud" runat="server" Height="27px" Width="126px"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Tên cơ quan chủ quản
            </td>
            <td>
                <asp:DropDownList ID="drlcqcq" runat="server" Height="25px" Width="126px"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Đại diện bên A:
            </td>
            <td>
                <asp:TextBox ID="txtbena" runat="server" Height="22px" Width="543px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Đại diện bên B:
            </td>
            <td>
                <asp:TextBox ID="txtbenb" runat="server" Height="27px" Width="546px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Chức vụ
            </td>
            <td>
              <asp:TextBox ID="txtchucvu" runat="server" Height="28px" Width="544px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Tổng kinh phí
            </td>
            <td>
                <asp:TextBox ID="txtkinhphi" runat="server" Height="25px" Width="540px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Điều khoản
            </td>
            <td>
                <CKEditor:CKEditorControl ID="ckdieukhoan" runat="server" Width="538px"></CKEditor:CKEditorControl> 
            </td>
        </tr>
        <tr>
            <td>
                Ngày lập hợp đồng
            </td>
            <td>
                <asp:TextBox ID="txtngaylap" runat="server" Height="22px" Width="125px"></asp:TextBox>
                <div id="ngaynopTM"> <asp:Calendar ID="cldngaynopTM" runat="server" OnSelectionChanged="cldngaynopTM_SelectionChanged1"></asp:Calendar></div>
                    <img src="../Images/calendar.png" onclick="displayngaynop()" />
            </td>
        </tr>
         <tr>
            <td>
                Ngày hợp đồng có hiệu lực
            </td>
            <td>
                <asp:TextBox ID="txtngayhieuluc" runat="server" Height="24px" Width="125px"></asp:TextBox>
                 <div id="ngaynopTM1"> <asp:Calendar ID="cldngaycohieuluc" runat="server" OnSelectionChanged="cldngaycohieuluc_SelectionChanged"></asp:Calendar></div>
                    <img src="../Images/calendar.png" onclick="displayngaynop1()" />
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btok" runat="server" Text="Gửi" Width="70px" OnClick="btthem_Click" />
                <asp:Button ID="btin" runat="server" Text="IN" Width="67px" OnClick="btin_Click" />
                <asp:Button ID="bthuy" runat="server" Text="Hủy" Width="61px" OnClick="bthuy_Click" />
            </td>
        </tr>
    </table>
</asp:Content>

